Skip to content

fix: isolate npm CLI installation - #10

Merged
bntvllnt merged 1 commit into
mainfrom
fix/canary-npm-install
Aug 31, 2026
Merged

fix: isolate npm CLI installation#10
bntvllnt merged 1 commit into
mainfrom
fix/canary-npm-install

Conversation

@bntvllnt

Copy link
Copy Markdown
Collaborator

Summary

  • install npm 12 into a temporary prefix instead of replacing the npm instance currently running the installation
  • verify the isolated CLI before adding it to subsequent publish-step PATH
  • apply the same safe pattern to canary and stable publishing

Context

The first post-merge 2.0.0 canary run failed while npm replaced itself, with Cannot find module promise-retry. The isolated prefix avoids the upstream npm self-upgrade failure while retaining npm 12.0.2 and Node 22.22.2 for OIDC publishing.

Verification

  • isolated install reports npm 12.0.2 under exact Node 22.22.2
  • pnpm format:check
  • git diff --check

No stable package is published or tagged by this PR.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@bntvllnt
bntvllnt merged commit abb938c into main Aug 31, 2026
6 checks passed
@bntvllnt
bntvllnt deleted the fix/canary-npm-install branch August 31, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant